package com.lsh.airticket.dto;

import com.lsh.airticket.entity.Ticket;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

import java.util.Date;

/**
 * @author lsh
 * @date 2021/2/15
 *
 * 展示在首页的航班信息。
 **/
@Data
public class ShowFlight {
    private String flightId;
    private String fromCity;
    private String toCity;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date flightDate;
    private String airrouteLength;
    private String preDownTime;
    private String preUpTime;
    private String fromAirport;
    private String toAirport;
    private Integer modelId;

    private Integer floorPrice; //机票的最低价

    private Ticket showTicket;

}
